﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace game
{
    public class SingleMatrixShader : Shader
    {
        public Matrix WorldViewProj { get; set; }
        public EffectParameter EP_gWVP;
        protected bool wvpChanged = false;

        public SingleMatrixShader(String filename, String techniqueName)
        {
            effectFilename = filename;
            effectTechName = techniqueName;
        }

        public override void Initialize()
        {
            base.Initialize();
            EP_gWVP = Effect.Parameters["gWVP"];
        }
    }
}
